home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3 / f90 / not.z / not
Encoding:
Text File  |  1998-10-30  |  1.4 KB  |  50 lines

  1. NOT(3I)                                                Last changed: 1-6-98
  2.  
  3.  
  4. NNAAMMEE
  5.      NNOOTT - Performs a logical complement
  6.  
  7. SSYYNNOOPPSSIISS
  8.      NNOOTT (([II==]_i))
  9.  
  10. IIMMPPLLEEMMEENNTTAATTIIOONN
  11.      UNICOS, UNICOS/mk, and IRIX systems
  12.  
  13. SSTTAANNDDAARRDDSS
  14.      Fortran 90
  15.  
  16. DDEESSCCRRIIPPTTIIOONN
  17.      The NNOOTT intrinsic function performs a logical complement.  It accepts
  18.      the following argument:
  19.  
  20.      _i    Must be of type integer
  21.  
  22.      NNOOTT is an elemental function.  The name of this intrinsic cannot be
  23.      passed as an argument.
  24.  
  25. RREETTUURRNN VVAALLUUEESS
  26.      The result type and type parameter are the same as _i.  The result has
  27.      the value obtained by complementing _i bit-by-bit according to the
  28.      following truth table:
  29.  
  30.           _i  NNOOTT (_i)
  31.  
  32.           1  0
  33.  
  34.           0  1
  35.  
  36.      The bit model defines the interpretation of an integer value as a
  37.      sequence of bits.  For more information on the bit model, see the
  38.      MMOODDEELLSS(3I) man page.
  39.  
  40. EEXXAAMMPPLLEESS
  41.      If II is represented by the string of bits 01010101, NNOOTT((II)) has the
  42.      binary value 10101010.
  43.  
  44. SSEEEE AALLSSOO
  45.      MMOODDEELLSS(3I)
  46.  
  47.      _I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l, publication SR-2138, for the
  48.      printed version of this man page.
  49.  
  50.